import Test from "@admin/entity/system/test/Test";
import R from "~/utils/r";

export type GetByIdIn = number

export class GetByIdOut extends R<GetByIdOut> {
    data: Test = new Test()
    postIds: number[] = []
    roleIds: number[] = []
    posts: any[] = []
    roles: any[] = []
}

export interface InsertIn {
    nickName: string
    deptId: string
    phonenumber: string
    email: string
    userName: string
    password: string
    sex: string
    remark: string
}

export interface UpdateIn extends InsertIn {
    userId: number
}

export interface GetPoloIn {
    userName: string;
    nickName: string;
    email?: string;
    status?: string;
}

export class GetPoloOut extends R<GetPoloOut> {
    total: string = '';
    rows: Test = new Test();
}
